package com.martin.lib_base.ui.theme

import androidx.compose.material3.Typography
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.TextStyle
import androidx.compose.ui.text.font.FontFamily
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.sp

// Set of Material typography styles to start with
val Typography = Typography(
    titleMedium = TextStyle(
        fontWeight = FontWeight.Medium,
        fontSize = 18.sp,
        color = ColorTextBlack
    ),
    titleSmall = TextStyle(
        fontWeight = FontWeight.Medium,
        fontSize = 15.sp,
        color = ColorTextNormal,
    ),
    bodyLarge = TextStyle(
        fontFamily = FontFamily.Default,
        fontWeight = FontWeight.Normal,
        fontSize = 16.sp,
        lineHeight = 24.sp,
        letterSpacing = 0.5.sp,
        color = ColorTextNormal
    ),
    labelLarge = TextStyle(
        fontWeight = FontWeight.Normal,
        fontSize = 13.sp,
        color = ColorTextLightGray
    ),
)

// 字体-价格-红色
val TextStylePriceRed = TextStyle(
    fontWeight = FontWeight.Medium,
    fontSize = 18.sp,
    color = ColorTextRed
)

// 字体-价格-灰色
val TextStylePriceOld = TextStyle(
    fontWeight = FontWeight.Normal,
    fontSize = 11.sp,
    color = ColorTextHint
)

// 字体-日期
val TextStyleDate = TextStyle(
    fontWeight = FontWeight.Normal,
    fontSize = 12.sp,
    color = ColorTextLightGray
)

// 字体-常规
val TextStyleNormal = TextStyle(
    fontSize = 14.sp,
    color = ColorTextNormal
)

// 字体-占位
val TextStyleHint = TextStyle(
    fontSize = 13.sp,
    color = ColorTextLightGray
)